<template>
  <div class="all">
      <div class="box">
        <img src="https://res.suning.cn/project/mvs/RES/project/orderOnline/build/static/media/nodata1.b7f2be61.png" alt="">
        <div class="text">{{ text1 }}</div>
        <button>去首页</button>
      </div>
  </div>
</template>

<script>
export default {
  props: {
    text1: { typeof: String, default: '' },
  }
}
</script>

<style lang="scss" scoped>
.all{
  .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    img{
      width:1.83rem;
      height: 1.83rem;
    }
    button{
      width: 1.5rem;
      height: 0.38rem;
      font-size: 0.15rem;
      color: #666666;
      background-color: #ffffff;
      border: 1px solid #666666;
      border-radius: 0.12rem;
    }
    .text{
      font-size: 0.18rem;
      color: #222222;
      margin-bottom: 0.38rem;
      margin-top: 0.48rem;
    }
  }
}
</style>